package com.saile.controller.web.include;

import com.saile.controller.base.BaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

import javax.servlet.http.HttpServletRequest;

/**
 * Created by Baggio on 2017/2/22.
 */
@RequestMapping("/include")
@Controller
public class includeContorller extends BaseController {


    @RequestMapping(value="/include-head")
    public ModelAndView includeHead(HttpServletRequest request) {
        System.out.println("=============================head==============================================>>>>>>");
ModelAndView mov=new ModelAndView();
mov.setViewName("/include/include-head");

        return mov;

    }
    @RequestMapping(value="/include-product")
    public ModelAndView includeProduct(HttpServletRequest request) {
        System.out.println("=============================index==============================================>>>>>>");
        ModelAndView mov=new ModelAndView();
        mov.setViewName("/include/include-product");

        return mov;

    }
}
